/*
 * @Author: wfl
 * @LastEditors: wfl
 * @description: 
 * @updateInfo: 本次更新内容：
 * @Date: 2021-04-28 15:20:11
 * @LastEditTime: 2021-04-28 15:40:03
 */
export const getType = (param: any): string => {
    const typeStr = Object.prototype.toString.call(param);
    const reg = /\S+]$/;
    const str = reg.exec(typeStr)?.[0]
    return str? str?.substr(0, str.length - 1).toLowerCase() : 'not know'
}